var t = null;
var ok = function(){
	if(document.getElementsByClassName("sso_dialog_close").length>0){
		clearInterval(t)
		document.getElementsByClassName("sso_dialog_close")[0].click()
	}
}

t = setInterval(ok,500)